#coding=utf-8
"""
Author:王霄
Time:2025/3/3 11:43
website:https://duoceshi.net
"""
import sys
sys.path.append('..')
from configparser import ConfigParser
from utiles.handle_path import *
import os

class Handle_conf(ConfigParser):
    def __init__(self,filename):
        super(Handle_conf,self).__init__()
        self.filename=filename
        self.read(self.filename)
    def get_value(self,section,option):
        value=self.get(section,option)
        return value
path=os.path.join(conf_path,'conf.ini')
# print(path)
conf=Handle_conf(path)
# print(conf.get_value("env",'url'))
